const express = require('express')
const router = express.Router()

// 导入用户路由处理函数对应的模块
const tp_handle = require('../router_handle/tp')

router.get('/mriList', tp_handle.mriList)
router.get('/ctList', tp_handle.ctList)
router.post('/addcttp', tp_handle.addcttp)
router.post('/addmritp', tp_handle.addmritp)
router.get('/delcttp/:id', tp_handle.delcttp)
router.get('/delmritp/:id', tp_handle.delmritp)
router.post('/editcttp', tp_handle.editcttp)
router.post('/editmritp', tp_handle.editmritp)
router.get('/checkct/:id', tp_handle.checkct)
router.get('/checkmri/:id', tp_handle.checkmri)
router.get('/searchCT/:msg', tp_handle.searchCT)
router.get('/searchMRI/:msg', tp_handle.searchMRI)
router.get('/orlist', tp_handle.orlist)
router.get('/ct_orView/:id', tp_handle.ct_orView)
router.get('/mri_orView/:id', tp_handle.mri_orView)

module.exports = router